package com.mydesignpattern.beijing.responsibilitychain.simple.impl;

import com.mydesignpattern.beijing.responsibilitychain.simple.Filter;

/**
 * 表情替换实现类
 * Created by nevermore on 17/4/25.
 */
public class FaceFilter implements Filter {
    @Override
    public String doFilter(String msg) {
        //表情替换为符号或者表情图片地址
        return msg.replace("/haha","^ v ^");
    }
}
